package com.qf.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 保护你的大熊
 * 2022/3/9
 * 17:16
 */
@ConfigurationProperties(prefix = "user")
@Data
@Component
public class User {

    private String username;
    private int age;

}
